<div class="cont_scroll jScrollPaneContainer">
	<div class="scroll-pane pane " >
		<?php foreach ($data as $key => $value) : ?>
		<?php 
		$name = isset($value->ln->name) ? $value->ln->name : $value->name;
		$anons = isset($value->ln->anons) ? $value->ln->anons : $value->anons;
		?>
		<div class="scroll-p-bl-news d_t">
			<div class="scroll-p-bl-news-img fl_l">
				<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$value->category->alias, 'item'=>$value->alias));?>" class="d_b" title="<?php echo $name;?>">
					<?php echo BaseController::material_image(0, $value->file, '150'); ?>
				</a>
			</div>
			<div class="scroll-p-bl-news-content">
				<span><?php echo Yii::app()->dateFormatter->formatDateTime($value->crdate, 'long', null);?></span>
				<a href="<?php echo Yii::app()->createUrl('content/item', array('category'=>$value->category->alias, 'item'=>$value->alias));?>"><?php echo $name;?></a>
				<p><?php echo $anons; ?></p>
			</div>
		</div>
		<?php endforeach;?>
	</div>
</div>